<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>蘑菇街——列表页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="copyright" content="">
		<link rel="icon" href="" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/header.css" >
		<link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/pkg-index.css" >
		<link rel="stylesheet" href="<?php echo __PUBLIC__?>/Home/css/list.css" />
		<script type="text/javascript" src="<?php echo __PUBLIC__?>/Home/jquery-1.8.js"></script>
		<script type="text/javascript" src="<?php echo __PUBLIC__?>/Home/js/pkg-pc-base.js"></script>
	</head>
	<!--载入公共模板 头部-->
		<!-- 公共头部 -->
<body class="media_screen_1200">
	<!--右侧导航栏-->
	<div style="right: 0px;" class="mgj_rightbar">
		<!--空的右侧边栏-->
		<div id="mgj_rightbar_top_blank" class="mgj_rightbar_960">
		</div>
		<!--方便定margin的空div-->
		<div id="mgj_rightbar_blank_div">
		</div>
		<!--用户头像-->
		<!--购物车-->
		<div style="left: 0px;" class="sidebar-item mgj-my-cart">
			<a target="_blank" href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Cart&a=index" >
				<i class="s-icon">
				</i>
				<div class="s-txt">
					购物车
				</div>
				<div class="num">
					
				</div>
			</a>
		</div>
		
		<!--钱包-->
		<div class="sidebar-item mgj-my-wallet">
			<a target="_blank" href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Member&a=wallet">
				<i class="s-icon">
				</i>
				<!--我的钱包-->
				<div class="s-txt">
					钱包
				</div>
			</a>
		</div>
		<!--足迹-->
		<div class="sidebar-item mgj-my-browserlog">
			<a target="_blank" href="">
				<i class="s-icon">
				</i>
				<!--我的足迹-->
				<div class="s-txt">
					足迹
				</div>
			</a>
		</div>
		<!--返回顶部-->
		<div class="sideBottom">
			<div class="sidebar-item mgj-back2top show" style="left: 0px;">
				<a href="javascript:;">
					<i class="s-icon">
					</i>
				</a>
			</div>
		</div>
	</div>
	<!--右侧导航栏-结束->
	<!--顶部开始-->
	<div id="header" class="header_2015">
		<div class="wrap clearfix">
			<!-- 顶通 -->
			<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Index&a=index" class="home fl">
				蘑菇街首页
			</a>
			<ul class="header_top">
<!-- ================== -->
				<!-- 如果用户没有登录那就显示登录注册 -->
				                
				<li class="s1 ">
					<a  href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=User&a=register">
						注册
					</a>
				</li>
				<li class="s1 ">
					<a  href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=User&a=login">
						登录
					</a>
				</li>
								<!-- ======= -->
				<!--我的订单-->
				<li class="s1 myorder has_line">
					<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Member&a=index" target="_blank" class="text display_u">
						我的订单
					</a>
				</li>
				<!--我的订单--结束-->
				<!--我的购物车-开始-->
				<li class="s1 has_line shopping_cart_v2">
					<a class="cart_info_wrap" href="" target="_blank">
						<span class="cart_info">购物车</span>
					</a>
					<i class="icon_delta">
					</i>
					<!-- ==== -->
					<!-- 顶部购物车效果 -->
					<script type="text/javascript">
							$(function(){
								$('.shopping_cart_v2').mouseover(function() {
									$('.shop_cart_info').css({display:"block"});
								});
								$('.shopping_cart_v2').mouseout(function() {
									$('.shop_cart_info').css({display:"none"});
								});
							})

					</script>
					<!-- ===== -->
					<!-- <div style="" class="shop_cart_info">
						<ul>
							<li>
								<a href="" target="_blank" class="imgbox">
									<img src="http://127.0.0.1/c_57_shop/my_store/Public/Home/images/1zlav6_ifrgim3dgvqtcyrqguzdambqmeyde_640x960.jpg_100x100.jpg" alt="" width="45">
								</a>
								<a href="" target="_blank" class="title">
									加厚毛领羽绒服衣外套
								</a>
								<span class="info">颜色：米白 尺码：M</span>
								<span class="price">¥244.30</span>
								<span class="del">删除</span>
							</li>
						</ul>
						<div class="subbox">
							<div class="fr">
								<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Cart&a=index" target="_blank" class="goel">
									查看购物车
								</a>
							</div>
						</div>
					</div> -->
					<!--如果是空的那就显示-->
					<div style="" class="shop_cart_info">
						<ul>
							<li>
								<span class="info">购物车还是空的的!!</span>
								<span>赶快来添加属于你的宝贝吧!</span>
							</li>
						</ul>
					</div>
					<!-- ======================================== -->
				</li>
				<!--我的购物车结束-->
				<!--客户服务-开始-->
				<li class="s1 has_line has_icon custom_item">
					<a rel="nofollow" href=""  target="_blank">
						客户服务
					</a>
					<i class="icon_delta">
					</i>
					<ol class="ext_mode">
						<li class="s2">
							<a target="_blank"  href="">
								联系合作
							</a>
						</li>
						<li class="s2">
							<a  href="" target="_blank">
								帮助
							</a>
						</li>
					</ol>
				</li>
				
			</ul>
		</div>
	</div>
	<!--顶部结束-->
	<!-- 中间区域 -->
	<div class="header_mid clearfix">
		<div class="wrap">
			<a  href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Index&a=index" class="logo" >
			</a>
			<div class="normal-search-content">
				<!--顶部隐藏搜索框-->
				<div class="top_nav_search" id="nav_search_form">
					<!---->
					<!--搜索框 -->
					<div class="search_inner_box clearfix">
						<div class="selectbox" >
							<span class="selected">搜商品</span>
							<ol>
								<li class="current" >
									<a href="#">
										商品
									</a>
								</li>
								<li data-index="shop">
									<a href="#">
										店铺
									</a>
								</li>
							</ol>
						</div>
						<!---------------------------搜索框-------------->
						<form action="" method="" id="top_nav_form">
							<input  name="q" class="ts_txt fl"  value="" type="text">
							<input value="搜  索" class="ts_btn" type="submit">
							<input name="t" value="bao" id="select_type" type="hidden">
						</form>
						<!-------------------------->
						<div style="display:none;" class="top_search_hint">
						</div>
					</div>
					<div class="ts_hotwords">
						<a  class="ts_hotword" style="color: #999999 " href="">
							呢外套
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							风衣
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							羽绒服
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							运动鞋
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							卫衣
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							雪地靴
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							家居服
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							新款女包
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							毛衣
						</a>
					</div>
				</div>
			</div>
		
			
		</div>
	</div>

		<!-- 点击哪个就出现哪个 -->
						<script type="text/javascript">
//							$(function(){
//								$('.nav_list li').click(function(){
//									$(this).addClass('on').siblings().removeClass('on');
//									
//									
//								});
//							})

						</script>
		

		<div id="body_wrap" >
		
			<div class="wrap" style="">
				<!-- 头部类目导航 -->
				<div class="sp_topbanner clearfix" id="sp_topbanner">
					<div class="sp_top_nav" style="">
					<!-- table切换 -->
					<!-- 顶级分类 -->
						<ul class="nav_list" style="">
							<li ><a href="<?php echo U('Index/index')?>">首页</a></li>
							        <?php
        if (empty($cateData)) 
        {
            echo '';
        } 
        else 
        {
            //初始化
            $first=$last=$total=$index=$id=0;
            $hd['list']['v']['first']=&$first;
            $hd['list']['v']['last']=&$last;
            $hd['list']['v']['total']=&$total;
            $hd['list']['v']['index']=&$index;
            foreach ($cateData as $v) 
            {
                //开始值
                if ($id<0)
                {
                    $id++;
                    continue;
                }
                //步长
                if($id%1!=0)
                {   
                    $id++;
                    continue;
                }
                //显示条数
                if($index>=9)
                {
                    break;
                }
                //第几个值
                $index+=1;
                //第1个值
                $first=($id == 0);
                //最后一个值
                $last=($index == 9);
                //增加数
                $id+=1;
            ?>
							<li <?php if($_GET['cid']==$v['cid']){?>
                class="on"
               <?php }?>><a  href="<?php echo U('Lists/index',array('cid'=>$v['cid']))?>" ><?php echo $v['cname']?></a></li>
							<?php }
            //总数
            $total=$index;
        }?>
						</ul>
						
						<span style="left: 16px;"></span>
					</div>

				</div><br />
			<!-- 属性筛选 -->
				<div class="a_box">
					<?php foreach ($goodsAttr as $k=>$v){?>
					<ul style="">
						<li>
							<span><?php echo $v['name']?>:</span>
							<?php
								$temp=$param;
								$temp[$k]=0;
							?>
							<a href="<?php echo U('Lists/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))?>" <?php if($param[$k]==0){?>
                class="hover"
               <?php }?>>全部</a>
							
							<?php foreach ($v['value'] as $value){?>
							<?php
								$temp[$k]=$value['gtid'];
								?>
							<a href="<?php echo U('Lists/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))?>" <?php if($param[$k]==$value['gtid']){?>
                class="hover"
               <?php }?>><?php echo $value['gtvalue']?></a>
							<?php }?>
						</li>
					</ul>
					<?php }?>
				</div>
				
<!-- ======================================================= -->
		
				<!-- 价格筛选 -->
				<h3 class="sub_title" id="category_all">冬季新品</h3>
				<form action="" class="price_custom" method="GET">
					<div class="sp_filter clearfix sort_nav">
						<div class="nav_left fl">
							<a class="sort on" href="">综合</a>
							<a class="sort " href="">销量</a>
							<a class="sort " href="">最新</a>
							<div class="price">

								<div class="txt">
									<span class="rmb">￥</span>
									<input class="from" name="minPrice" type="text">
								</div>
								<span class="divid">-</span>
								<div class="txt">
									<span class="rmb">￥</span>
									<input class="to" name="maxPrice" type="text">
								</div>
								<a class="sbt" href="#">确定</a>
							</div>
							<ul class="price_choice">
								<li class="price_citem"><a href="">75-98</a></li>
								<li class="price_citem"><a href="">98-128</a></li>
								<li class="price_citem"><a href="">128-299</a></li>
							</ul>
						</div>
						<div class="nav_right fl">

							<div class="nav_inner">
								<span class="nav_more"></span>
								<div class="filters">
									<a class="mgl">
										<input id="tagmarknew" value="marknew" name="" type="checkbox">
										<label for="tagmarknew">新品</label>
									</a>
									<a class="mgl">
										<input id="tagshipai" value="shipai" name="" type="checkbox">
										<label for="tagshipai">实拍</label>
									</a>
								</div>
							</div>
						</div>
					</div>
				</form>
				<!-- 筛选表单结束 -->

				<!-- 商品图片展示 -->
				
				<!--图片商品----展示部分-->
				<div class="imagewall clearfix" id="imagewall_container" >
					<?php foreach ($goodsData as $field){?>
					<div class="iwf" >
						<a  href="<?php echo U('Content/index',array('gid'=>$field['gid']))?>" class="img" target="_blank"><img src="<?php echo __ROOT__?>/<?php echo $field['pic']?>" alt=""></a>
						<p class="title"><a  href="<?php echo U('Content/index',array('gid'=>$field['gid']))?>" target="_blank" style="width:220px"><?php echo $field['gname']?></a></p>
						<div class="goods_info"><b class="price_info"><i>￥</i><?php echo $field['shopprice']?></b><span class="fav_num">15001</span></div>
					</div>
					<?php }?>

				</div>
				
			</div>

		</div>
		<!-- 载入公共底部 -->
			<!-- 公共底部文件 -->
<div class="foot J_footertimer" data-ptp="_foot" data-svrtime="1447789778">
	<div class="wrap foot_wrap clearfix">
		<div class="foot_info">
			<a  class="info_logo" href="">
			</a>
			<div class="info_text">
				<p>
					营业执照注册号：
					<a  href="" target="_blank">
						330106000129004
					</a>
				</p>
				<p>
					增值电信业务经营许可证：
					<a  href="" target="_blank">
						浙B2-20110349
					</a>
				</p>
				<p>
					ICP备案号：浙ICP备10044327号-3
				</p>
				<p class="mgjhostname" title="guomai31082">
					©2015 Mogujie.com 杭州卷瓜网络有限公司
				</p>
			</div>
		</div>
		<div class="foot_link">
			<dl class="link_company">
				<dt>
					公司
				</dt>
				<dd>
					<a  href="http:://www.mogujie.com" target="_blank">
						关于我们
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						招聘信息
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						联系我们
					</a>
				</dd>
			</dl>
			<dl class="link_consumer">
				<dt>
					消费者
				</dt>
				<dd>
					<a  href="http:://www.mogujie.com" target="_blank">
						帮助中心
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						意见反馈
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						手机版下载
					</a>
				</dd>
			</dl>
			<dl class="link_business">
				<dt>
					商家
				</dt>
				<dd>
					<a href="" target="_blank">
						免费开店
					</a>
				</dd>
				<dd>
					<a href="" target="_blank">
						商家社区
					</a>
				</dd>
				<dd>
					<a href="" target="_blank">
						商家入驻
					</a>
				</dd>
				
			</dl>
			<dl class="link_safe">
				<dt>
					权威认证
				</dt>
				<dd>
					<a  class="pc"  href="javascript:;" target="_blank">
					</a>
					<a  class="pa"  target="_blank" href="javascript:;">
					</a>
					<a  href="javascript:;"  class="kx" target="_blank">
					</a>
				</dd>
			</dl>
		</div>
	</div>
	<div class="wrap foot_wrap w-links clearfix">
		<ul>
			<li>
				友情链接:
			</li>
			<li>
				<a target="_blank" href="http://www.baidu.com">
					百度
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.jd.com">
					京东
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.tmall.com">
					天猫
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.houdunwang.com">
					后盾网
				</a>
			</li>
			
			<li>
				<a target="_blank" href="http:://www.mogjie.com">
					蘑菇街包包
				</a>
			</li>
			<li>
				<a target="_blank" href="http:://www.mogjie.com">
					蘑菇街家居
				</a>
			</li>
			
		</ul>
	</div>
</div>

<script type="text/javascript" src="http://127.0.0.1/c_57_shop/my_store/Public/Home/js/header.js"></script>

	</body>

</html>